package com.czkj.hwz.decorate.bean;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/10/6.
 * 产品类 Goods
 *
 *
 Id: Int ,                                    //商品编号
 Name: String ,                               //商品名称
 Remark: String ,                             //商品备注
 Seq: Int ,                                   //商品序列
 HotSale: Bool ,                              //是否是热销
 NewGoods: Bool ,                             //是否是新品
 Content: String ,                            //商品详情
 Guid: String ,                               //商品Guid
 Unit: String ,                               //商品单位
 Price: Float ,                               //商品价格
 InTime: String ,                             //商品添加时间
 OriginalPrice: Float ,                       //商品原价
 CostPrice: Float ,                           //折扣价格
 GoodsClassName: String ,                     //分类名称
 BigImg: String ,                             //商品图片
 SmallImg: String ,                           //商品略缩图
 GoodsClassId: Int ,                          //商品分类编号
 EnterpriseId: Int ,                          //企业编号
 WorkerReward: Int ,                          //工人奖励
 ReferenceReward: Int ,                       //推荐人奖励
 SelfSupport: Bool                            //是否自营产品
 *
 */

public class Goods implements Serializable {

    private int Id;                                    //商品编号
    private String Name;                              //商品名称
    private String Remark;                             //商品备注
    private int Seq;                                   //商品序列
    private boolean HotSale;                              //是否是热销
    private boolean NewGoods;                             //是否是新品
    private String Content;                            //商品详情
    private String Guid;                            //商品Guid
    private String Unit;                               //商品单位
    private float Price;                              //商品价格
    private String InTime;                             //商品添加时间
    private Float OriginalPrice;                       //商品原价
    private Float CostPrice;                        //折扣价格
    private String GoodsClassName;                  //分类名称
    private String BigImg;                           //商品图片
    private String SmallImg;                          //商品略缩图
    private int GoodsClassId;                         //商品分类编号
    private int EnterpriseId;                      //企业编号
    private int  WorkerReward;                          //工人奖励
    private int ReferenceReward;                      //推荐人奖励
    private boolean SelfSupport;                           //是否自营产品

    public int getId() {
        return Id;
    }

    public void setId(int id) {
        Id = id;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public String getRemark() {
        return Remark;
    }

    public void setRemark(String remark) {
        Remark = remark;
    }

    public int getSeq() {
        return Seq;
    }

    public void setSeq(int seq) {
        Seq = seq;
    }

    public boolean isHotSale() {
        return HotSale;
    }

    public void setHotSale(boolean hotSale) {
        HotSale = hotSale;
    }

    public boolean isNewGoods() {
        return NewGoods;
    }

    public void setNewGoods(boolean newGoods) {
        NewGoods = newGoods;
    }

    public String getContent() {
        return Content;
    }

    public void setContent(String content) {
        Content = content;
    }

    public String getGuid() {
        return Guid;
    }

    public void setGuid(String guid) {
        Guid = guid;
    }

    public String getUnit() {
        return Unit;
    }

    public void setUnit(String unit) {
        Unit = unit;
    }

    public float getPrice() {
        return Price;
    }

    public void setPrice(float price) {
        Price = price;
    }

    public String getInTime() {
        return InTime;
    }

    public void setInTime(String inTime) {
        InTime = inTime;
    }

    public Float getOriginalPrice() {
        return OriginalPrice;
    }

    public void setOriginalPrice(Float originalPrice) {
        OriginalPrice = originalPrice;
    }

    public Float getCostPrice() {
        return CostPrice;
    }

    public void setCostPrice(Float costPrice) {
        CostPrice = costPrice;
    }

    public String getGoodsClassName() {
        return GoodsClassName;
    }

    public void setGoodsClassName(String goodsClassName) {
        GoodsClassName = goodsClassName;
    }

    public String getBigImg() {
        return BigImg;
    }

    public void setBigImg(String bigImg) {
        BigImg = bigImg;
    }

    public String getSmallImg() {
        return SmallImg;
    }

    public void setSmallImg(String smallImg) {
        SmallImg = smallImg;
    }

    public int getGoodsClassId() {
        return GoodsClassId;
    }

    public void setGoodsClassId(int goodsClassId) {
        GoodsClassId = goodsClassId;
    }

    public int getEnterpriseId() {
        return EnterpriseId;
    }

    public void setEnterpriseId(int enterpriseId) {
        EnterpriseId = enterpriseId;
    }

    public int getWorkerReward() {
        return WorkerReward;
    }

    public void setWorkerReward(int workerReward) {
        WorkerReward = workerReward;
    }

    public int getReferenceReward() {
        return ReferenceReward;
    }

    public void setReferenceReward(int referenceReward) {
        ReferenceReward = referenceReward;
    }

    public boolean isSelfSupport() {
        return SelfSupport;
    }

    public void setSelfSupport(boolean selfSupport) {
        SelfSupport = selfSupport;
    }

    @Override
    public String toString() {
        return this.getName();
    }
}
